package com.job.gaoyue.day0701;

import java.util.Scanner;

/**
 * @author ${高某}
 * @version 1.0
 * @since 2022-07-02 18:13:04
 */
public class shuzu0701 {
    public static void main(String[] args) {
        //定义一个动态数组，不输入数据
        int[] arr = new int[3];
        //构建一个扫描器
        Scanner sc = new Scanner(System.in);
        //定义一个静态数组
        String[] names = {"a", "b", "c", "d"};
        //输入数字并输出，为数组赋值
        System.out.println("输入一个数字：");
        arr[0]=sc.nextInt();
        //输出两个数组
        System.out.println(names[3]);
        System.out.println(arr[0]);
    }
}